/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.awt.Image;

/**
 *
 * @author Nicklas Skole
 */
public class Enemy extends Entity {
    
    public Enemy(int x, int y, int dx, int dy, int size, int hitpoint, int speed, Image img){
    super(x, y, dx, dy, size, hitpoint, speed, img);

    }

    @Override
    public void move() {
         setY(getY() - getSpeedY());
    }
    
}
